GoDiagram Win Reference
GetNodesAndLinks Method

An Northwoods.Go.IGoCollection; if null, the method allocates and returns a Northwoods.Go.GoSelection.
Retrieve all of the Northwoods.Go.GoObject nodes and links from the GoLayoutGenericNetwork.Node<N,L,Y>s and GoLayoutGenericNetwork.Link<N,L,Y>s that are in this network, by adding them to the given coll.
Syntax
'Declaration
 
Public Function GetNodesAndLinks( _
   ByVal coll As IGoCollection _
) As IGoCollection
public IGoCollection GetNodesAndLinks( 
   IGoCollection coll
)

Parameters

coll
An Northwoods.Go.IGoCollection; if null, the method allocates and returns a Northwoods.Go.GoSelection.

Return Value

Remarks
If you pass a value for , we recommend using a Northwoods.Go.GoSelection instead of a Northwoods.Go.GoCollection, since Northwoods.Go.GoSelection has more efficient lookup for avoiding duplicates. A Northwoods.Go.GoSelection is also handy for easily moving all those objects by calling Northwoods.Go.GoView.MoveSelection. You can determine the bounding rectangle for a collection of nodes and links by calling the static/shared method Northwoods.Go.GoDocument.Northwoods.Go.GoDocument.ComputeBounds.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoLayoutGenericNetwork<N,L,Y> Class
GoLayoutGenericNetwork<N,L,Y> Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback